Skip to content

docs(claude): add shell-pipefail-grep-q rule - #329

Merged
laurigates merged 1 commit into
mainfrom
docs/claude-shell-pipefail-rule
Jul 16, 2026
Merged

docs(claude): add shell-pipefail-grep-q rule#329
laurigates merged 1 commit into
mainfrom
docs/claude-shell-pipefail-rule

Conversation

@laurigates

Copy link
Copy Markdown
Owner

Adds the shell-pipefail-grep-q rule to the global Claude ruleset source.

The rule documents the set -o pipefail + early-closing-reader (grep -q, head, sed q) false-pipeline-failure trap and the here-string fix.

Provenance: the rule was already applied to the target (~/.claude/rules/shell-pipefail-grep-q.md) and in active use, but had never been committed to the chezmoi source — it surfaced as an untracked file while unsticking a chezmoi update autostash conflict. This commits it so it's tracked and preserved across machines.

🤖 Generated with Claude Code

Documents the `set -o pipefail` + early-closing-reader (grep -q, head)
false-failure trap and the here-string fix. Previously applied to the
target ruleset but never committed to source.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LgtDJ236Mw7Z3rfo4aQAGV
@github-actions github-actions Bot added size/s documentation Improvements or additions to documentation claude and removed size/s labels Jul 16, 2026
@github-actions

Copy link
Copy Markdown
Contributor

⚠️ Broken Links Detected

Summary

Status Count
🔍 Total 170
✅ Successful 160
⏳ Timeouts 0
🔀 Redirected 0
👻 Excluded 9
❓ Unknown 0
🚫 Errors 1

Errors per input

Errors in exact_dot_claude/docs/prds/daily-catchup.PRD.md


Please fix the broken links before merging.

@laurigates
laurigates merged commit 966fe0a into main Jul 16, 2026
7 of 8 checks passed
@laurigates
laurigates deleted the docs/claude-shell-pipefail-rule branch July 16, 2026 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

claude documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant